list_name=["zhangsan","lisi","wangwu","孙悟空","zhangsan"]
li_name=["猪二哥","媛媛"]
#增加
# list_name.append("zhangsan")
# list_name.insert(5,"lisi")
# list_name.extend(li_name)
#修改
# list_name[0]="lisi"
#删除
# list_name.pop()
# list_name.pop(0)
# list_name.remove("zhangsan")
# list_name.clear()
#统计数组长度
# print(len(list_name))
# print(list_name.count("zhangsan"))
# 排序
# list_name.sort()
# list_name.sort(reverse=True)
# 反转
list_name.reverse()
print(list_name)
print(type(list_name))